package com.juben.svr.domain;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public class jb_messages {
    private Integer MID;
    private Integer SenderId;   //发送者id
    private Integer RecipientID; //接收者id
    private String SenderName;//发送者昵称
    private String RecipientName;
    private String Mdate;
    private String Mdata;   //消息内容

    private Integer un_read_flag;

    private String headImg;

    public Integer getMid() {
        return MID;
    }

    public void setMid(Integer mid) {
        MID = mid;
    }

    public Integer getSenderId() {
        return SenderId;
    }

    public void setSenderId(Integer senderId) {
        SenderId = senderId;
    }

    public Integer getRecipientID() {
        return RecipientID;
    }

    public void setRecipientID(Integer recipientID) {
        RecipientID = recipientID;
    }

    public String getSenderName() {
        return SenderName;
    }

    public void setSenderName(String senderName) {
        SenderName = senderName;
    }

    public String getRecipientName() {
        return RecipientName;
    }

    public void setRecipientName(String recipientName) {
        RecipientName = recipientName;
    }

    public String getMdate() {
        return Mdate;
    }

    public void setMdate(String mdate) {
        Mdate = mdate;
    }

    public String getMdata() {
        return Mdata;
    }

    public void setMdata(String mdata) {
        Mdata = mdata;
    }

    public Integer getUn_read_flag() {
        return un_read_flag;
    }

    public void setUn_read_flag(Integer un_read_flag) {
        this.un_read_flag = un_read_flag;
    }

    public String getAvatar() {
        return headImg;
    }

    public void setAvatar(String avatar) {
        this.headImg = avatar;
    }

    @Override
    public String toString() {
        return "jb_messages{" +
                "MID=" + MID +
                ", SenderId=" + SenderId +
                ", RecipientID=" + RecipientID +
                ", SenderName='" + SenderName + '\'' +
                ", RecipientName='" + RecipientName + '\'' +
                ", Mdate='" + Mdate + '\'' +
                ", Mdata='" + Mdata + '\'' +
                ", un_read_flag=" + un_read_flag +
                ", avatar='" + headImg + '\'' +
                '}';
    }
}
